home *** CD-ROM | disk | FTP | other *** search
/ The Very Best of Atari Inside / The Very Best of Atari Inside 1.iso / mint / mntinc20 / locale.h < prev    next >
C/C++ Source or Header  |  1992-05-15  |  1KB  |  55 lines

  1. /*
  2.  * locale.h (ansi draft sec 4.4)
  3.  *      not implemented
  4.  */
  5.  
  6. #ifndef _LOCALE_H
  7. #define _LOCALE_H
  8.  
  9. #ifndef _COMPILER_H
  10. #include <compiler.h>
  11. #endif
  12.  
  13. #ifdef __cplusplus
  14. extern "C" {
  15. #endif
  16.  
  17. #define LC_ALL          0x001F
  18. #define LC_COLLATE      0x0001
  19. #define LC_CTYPE        0x0002
  20. #define LC_MONETARY     0x0004
  21. #define LC_NUMERIC      0x0008
  22. #define LC_TIME         0x0010
  23.  
  24. struct lconv {
  25.         char    *decimal_point;
  26.         char    *thousands_sep;
  27.         char    grouping;
  28.         char    *int_curr_symbol;
  29.         char    *currency_symbol;
  30.         char    *mon_decimal_point;
  31.         char    *mon_thousands_sep;
  32.         char    mon_grouping;
  33.         char    *positive_sign;
  34.         char    *negative_sign;
  35.         char    int_frac_digits;
  36.         char    frac_digits;
  37.         char    p_cs_precedes;
  38.         char    p_sep_by_space;
  39.         char    n_cs_precedes;
  40.         char    n_sep_by_space;
  41.         char    p_sign_posn;
  42.         char    n_sign_posn;
  43. };
  44.  
  45. __EXTERN char *        setlocale  __PROTO((int category, const char *locale));
  46. /* default is supposed to be setlocale(LC_ALL, "C") */
  47.  
  48. __EXTERN struct lconv *    localeconv __PROTO((void));
  49.  
  50. #ifdef __cplusplus
  51. }
  52. #endif
  53.  
  54. #endif /* _LOCALE_H */
  55.